package com.xtck.ha.fault.modules.pojo.dto;


import com.xtck.ha.fault.framework.query.Query;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
* @Description: DTO
* @author: liuyuan
* @date: 2025-06-17
*/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class FmeaInfoDTO extends Query implements Serializable {
    /**
    * id
    */
    @ApiModelProperty(value = "id")
    private Long id;
    /**
    * 失效种类
    */
    @ApiModelProperty(value = "失效种类")
    private String failureMode;
    /**
    * 造成的影响
    */
    @ApiModelProperty(value = "造成的影响")
    private String effect;
    /**
    * 严重性
    */
    @ApiModelProperty(value = "严重性")
    private Integer severity;
    /**
    * 失效原因
    */
    @ApiModelProperty(value = "失效原因")
    private String cause;
    /**
    * 失效发生概率
    */
    @ApiModelProperty(value = "失效发生概率")
    private String occurrence;
    /**
    * 当前工序控制方法
    */
    @ApiModelProperty(value = "当前工序控制方法")
    private String currentProcessControlPlan;
    /**
    * 检测失效的能力
    */
    @ApiModelProperty(value = "检测失效的能力")
    private String detection;
    /**
    * 风险优先指数
    */
    @ApiModelProperty(value = "风险优先指数")
    private Integer rpn;
    /**
    * 改善方案
    */
    @ApiModelProperty(value = "改善方案")
    private String recommendedAction;
    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
    * 故障推断任务id
    */
    @ApiModelProperty(value = "故障推断任务id")
    private Long taskId;
    /**
     * 故障推断起始时间
     */
    @ApiModelProperty(value = "故障推断起始时间")
    private Date startTime;
    /**
     * 故障推断结束时间
     */
    @ApiModelProperty(value = "故障推断结束时间")
    private Date endTime;
}
